var mongoose = require('./db.js');


var CommodityPoolSchema = new mongoose.Schema({
  wanting: Number,
  skuList: Array,
  picture_url: String,
  spu_arter_complet_time: String,
  arter_notes: String,
  tort: String,
  picturecount: Number,
  principal: String,
  employname: String,
  parent_category_id: Number,
  category_id: Number,
  sale_notes: String,
  keyword: String,
  competingcount: Number,
  skuCount: Number,
  keywordid: Number,
  description_en: String,
  spu_submit_sale_time: String,
  spu_arter: String,
  created_by: Number,
  praise: Number,
  created_on: Number,
  spu: String,
  categoryname: String,
  name_cn: String,
  projectId: String
});

module.exports = mongoose.model('CommodityPool', CommodityPoolSchema, 'commodityPool');
